/**
 * 
 */
package com.nari.heatshare.utils.excelupload;

import com.nari.heatshare.utils.excelupload.parseentity.ExcelTempPointEntity;
import com.nari.platform.model.ResponseMsg;

/**
 * 温度点Excel解析信息
 * @author Xiaopeng
 * @date 2014-3-12
 */
public class TempPointExcelParserInfo {
	private ExcelTempPointEntity tempPointEntity;
	private ResponseMsg parserState;
	
	public TempPointExcelParserInfo() {
		
	}
	
	public TempPointExcelParserInfo(ExcelTempPointEntity tempPointEntity, ResponseMsg parserState) {
		this.tempPointEntity = tempPointEntity;
		this.parserState = parserState;
	}
	
	/**
	 * 温度点解析信息实例化
	 * @param tempPointEntity
	 * @param parserState
	 * @return
	 * @author Xiaopeng
	 * @date 2014-3-12
	 */
	public static TempPointExcelParserInfo getInstance(ExcelTempPointEntity tempPointEntity, 
			ResponseMsg parserState) {
		return new TempPointExcelParserInfo(tempPointEntity, parserState);
	}
	
	/**
	 * @return the tempPointEntity
	 */
	public ExcelTempPointEntity getTempPointEntity() {
		return tempPointEntity;
	}

	/**
	 * @param tempPointEntity the tempPointEntity to set
	 */
	public void setTempPointEntity(ExcelTempPointEntity tempPointEntity) {
		this.tempPointEntity = tempPointEntity;
	}

	/**
	 * @return the parserState
	 */
	public ResponseMsg getParserState() {
		return parserState;
	}

	/**
	 * @param parserState the parserState to set
	 */
	public void setParserState(ResponseMsg parserState) {
		this.parserState = parserState;
	}
	
}
